﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - Проследи ме</title>
    @*@Styles.Render("~/Content/css") //----------ok
    @Scripts.Render("~/bundles/modernizr") //-------------ok
    @Styles.Render("~/Content/kendo")  //---------ok
    @Scripts.Render("~/bundles/jquery") //------ok
    @Scripts.Render("~/bundles/kendo") //------------ok
    @Scripts.Render("~/bundles/ajax") //----------ok *@ 


    <link href="~/Content/bootstrap.css" rel="stylesheet" />
    <link href="~/Content/Site.css" rel="stylesheet" />
    <link href="~/Content/bootstrap-responsive.css" rel="stylesheet" />
    <link href="~/Content/social-buttons.css" rel="stylesheet" />
    <link href="~/Content/fotorama.css" rel="stylesheet" />
    <link href="~/Content/font-awesome/css/font-awesome.min.css" rel="stylesheet" />

    <script src="~/Scripts/modernizr-2.6.2.js"></script>

    <link href="~/Content/Kendo/kendo.common.min.css" rel="stylesheet" />
    <link href="~/Content/Kendo/kendo.blueopal.min.css" rel="stylesheet" />
    @*<link href="~/Content/Kendo/kendo.default.min.css" rel="stylesheet" />*@
    <script src="~/Scripts/Kendo/jquery.min.js"></script>

    <script src="~/Scripts/GoogleMaps.js"></script>
    <script src="~/Scripts/fotorama.js"></script>


    <script src="~/Scripts/Kendo/kendo.all.min.js"></script>
    <script src="~/Scripts/Kendo/kendo.aspnetmvc.min.js"></script>

    <script src="~/Scripts/jquery.unobtrusive-ajax.js"></script>
    

</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                @Html.ActionLink(" ", "Index", "Home", new { area = "" }, new { @class = "brand" })
                <div class="nav-collapse collapse">
                    <ul class="nav">

                        @*<li>@Html.ActionLink("Начало", "Index", "Home", new { area = "" }, null)</li>*@

                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="icon-money"></i> Банкнота
                                <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li>@Html.ActionLink(" Регистрирай", "CreateTrack", "Banknote", new { area = "" }, new { @class = "register-drop-menu" })</li>
                                <li>@Html.ActionLink(" Проследи", "ChooseBanknote", "Banknote", new { area = "" }, new { @class = "check-drop-menu" })</li>
                            </ul>
                        </li>

                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="icon-sort-by-attributes"></i> Топ 10
                                <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li>@Html.ActionLink("Банкноти", "RegisterBanknotes", "TopTen", new { area = "" }, new { @class = "banknotes-drop-menu" })</li>
                                <li>@Html.ActionLink("Потребители", "UserBanknotes", "TopTen", new { area = "" }, new { @class = "users-drop-menu" })</li>
                                <li>@Html.ActionLink("Градове", "Cities", "TopTen", new { area = "" }, new { @class = "cities-drop-menu" })</li>
                                <li>@Html.ActionLink("Дати", "DatesBanknotes", "TopTen", new { area = "" }, new { @class = "dates-drop-menu" })</li>
                            </ul>
                        </li>
                        <li>@Html.ActionLink(" Български лев", "About", "Home", new { area = "" }, new { @class = "bgn-menu" })</li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="icon-plus"></i> Още
                                <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li>@Html.ActionLink("Идеи", "Ideas", "Home", new { area = "" }, null)</li>
                                <li>@Html.ActionLink("Търси потребител", "SearchByUsers", "Home", new { area = "" }, null)</li>
                                <li>@Html.ActionLink("Моите банкноти", "PrivateBanknotes", "Home", new { area = "" }, null)</li>
                            </ul>
                        </li>

                        <li>@Html.ActionLink(" Екипът", "Contact", "Home", new { area = "" }, new { @class = "team-menu" })</li>

                        @if (User.Identity.IsAuthenticated && User.IsInRole("Admin"))
                        {
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    Администрация
                                    <b class="caret"></b>
                                </a>
                                <ul class="dropdown-menu">
                                    <li>@Html.ActionLink("Потребители", "Index", "ApplicationUsersAdministration", new { area = "Administration" }, null)</li>
                                    <li>@Html.ActionLink("Банкноти", "Index", "BanknotesAdministration", new { area = "Administration" }, null)</li>
                                    <li>@Html.ActionLink("Следи", "Index", "TracksAdministration", new { area = "Administration" }, null)</li>
                                </ul>
                            </li>
                        }

                    </ul>
                    @Html.Partial("_LoginPartial")
                </div>
            </div>
        </div>
    </div>
    <div class="container" id="main-container">
        @RenderBody()
    </div>
    <div class="container">
        <hr />
        <footer>
            <img src="../../img/telerikFooter.png" width="100%" />
           

            <p style="text-align:center;">Stats: 
                    @{
                        var db = new Scorpicore.Data.DataContext();
                                    <span>@db.Banknotes.Count() registered banknotes, </span>
                                                <span>@db.Users.Count() registered users, </span>
                                                            <span>@db.Tracks.Count() registered tracks</span>
                                }<br />
            &copy; @DateTime.Now.Year - Telerik Scorpicore Team</p>
        </footer>
    </div>


    <script src="~/Scripts/bootstrap.js"></script>
    @*@Scripts.Render("~/bundles/bootstrap")
    *@

    @RenderSection("scripts", required: false)
  
</body>
</html>
